All Questions
5 questions
1vote
0answers
77views
Check that inputs are valid dates
I have a method in a class that accepts either a datetime or string parameter. It is shown in the last code block (I didn't include the class). A little background is that I am defining a wrapper ...
4votes
2answers
1kviews
Validating Shift class through builder pattern
I have a Shift class that looks like this: ...
1vote
1answer
613views
Using decorator pattern to validate an entity
I am following this article. ...
2votes
1answer
5kviews
Form validation in core php with oops concept
Here, i build one form validation script in php using understanding SOLID concept. My question is the way i coded my code is true way for ...
5votes
3answers
4kviews